/*
 */

package com.railway.notice.service;

import java.util.List;

import com.railway.notice.model.Notice;
import com.railway.notice.vo.NoticeQuery;

import cn.org.rapid_framework.page.Page;



/**
 * @author  jiangcheng
 * @version 1.0
 * @since 1.0
 */

public interface INoticeManager{
	
	public Page findPage(NoticeQuery query);

	public Notice getById(java.lang.String id);
	
	public List<Notice> findAll();
	
	/** 根据id检查是否插入或是更新数据 */
	public void saveOrUpdate(Notice entity);
	
	/** 插入数据 */
	public void save(Notice entity);
	
	public void removeById(java.lang.String id);
	
	public void update(Notice entity);
	
	public boolean isUnique(Notice entity, String uniquePropertyNames);
}
